<!--公共顶部-->
<#macro header>
    <nav class="navbar user-info-navbar" role="navigation">
                <!-- Left links for user info navbar -->
                <ul class="user-info-menu left-links list-inline list-unstyled">
                    <li class="hidden-sm hidden-xs">
                        <a href="#" data-toggle="sidebar">
                            <i class="fa-bars"></i>
                        </a>
                    </li>
                </ul>

                <!-- Right links for user info navbar -->
                <ul class="user-info-menu right-links list-inline list-unstyled">
                    <li ng-controller="timeController">
                        <a href="javascript:void(0)" cancel-timer>系统时间：{{serviceTime | formatDate | date: 'yyyy-MM-dd HH:mm:ss'}}</a>
                    </li>
                    <li class="dropdown user-profile">
                        <a href="javascript:void(0)" data-toggle="dropdown">
                            <i class="fa fa-flag"></i>
                            测试考点名称
                            <i class="fa-angle-down"></i>
                        </a>

                        <ul class="dropdown-menu user-profile-menu list-unstyled">
                            <li class="last">
                                <a href="/Login/Logout">
                                    <i class="fa-sign-out"></i>
                                    退出系统
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </nav>
        <#nested>
</#macro>

<#macro menu>
    <style>
        .sidebar-menu {
            width: 240px;
        }
    </style>
    <ul id="main-menu" class="main-menu">
        <!-- add class "multiple-expanded" to allow multiple submenus to open -->
        <!-- class "auto-inherit-active-class" will automatically add "active" class for parent elements who are marked already with class "active" -->
        <li class="{{item.isActive?'active opened active':''}}" ng-repeat="item in ls">
            <a href="{{ls.urls}}" style="padding: 20px 0;">
                <i class="{{item.logo}}"></i>
                <span class="title">{{item.name}}</span>
            </a>
            <ul>
                <li class="{{items.isActive?'active':''}}" ng-repeat="items in item.urls">
                    <!--<a href="{{items.link}}" style="padding: 20px 5px 20px 35px;">-->
                        <!--<span class="title">{{items.title}}</span>-->
                    <!--</a>-->
                    <span class="title">{{items.title}}</span>
                </li>
            </ul>
        </li>
    </ul>
</#macro>

<#macro footer>
    <footer class="main-footer sticky footer-type-1">
    <div class="footer-inner">
        <!-- Add your copyright text here -->
        <div class="footer-text">
            <p>
                &copy;
                版权所有：北京奥鹏文化传媒有限公司
            </p>
            <p>
                <i class="fa fa-flag"></i>
                当前版本：v<span>@ViewBag.CurVersion</span>
            </p>
        </div>

        <!-- Go to Top Link, just add rel="go-top" to any link to add this functionality -->
        <div class="go-up">
            <a href="#" rel="go-top" class="text-info">
                <i class="fa fa-angle-up fa-lg"></i>
            </a>
        </div>
    </div>
    </footer>

    <#nested>
        </body>
        </html>
</#macro>